
// 响应接口
export interface BaseResponse {
  code?: number;
  msg?: string;
  data?: any;
};

// Base 请求数据
export interface Where {
  key?: string;
  page?: number;
  limit?: number;
  total?: number;

}

/** 
 * App.vue 页面数据 *********************************************************
 */

export interface backItem {
  backgroundColor?: string;
}

export interface ColorItem {
  active?: string;
  background?: backItem,
  color?: string,
}

export interface AppData {
  color?: string;
  SettingBack?: string;
  ColorList?: ColorItem[];
}
/** 
 * App.vue 页面数据 *********************************************************
 */



/** 
 * login.vue 页面数据 *********************************************************
 */
import { UserRequest } from '@/PageData/Request/index'

export interface LoginData {
  Check: string;
  BackRoot: string;
  Option: string[];
  User: UserRequest;
  dialogVisible: boolean,
  ActivePassword: string
}

/** 
 * login.vue 页面数据 *********************************************************
 */




/** 
 * addApiDocument.vue 页面数据 *********************************************************
 */
import { DocumentRequest } from '@/PageData/Request/index'

export interface addApiDocumentData {
  Document: DocumentRequest;
  num: number;
}

export interface ApiDocumentMethods {
  NumChange: (index: number) => void;
  AddDocument: () => void;
}

/**
 * addApiDocument.vue 页面数据 *********************************************************
 */




/**
 * User/index.vue 页面数据 *********************************************************
 */
export interface UserWheres {
  page: number,
  limit: number,
  key: string,
  isBan: number,
  isActive: number
}

import { UserResponse } from '@/PageData/Response/index'
export interface UserIndex {
  wheres: UserWheres,
  isBanBool: boolean[],
  isActiveBool: boolean[],
  data: any,
  total: number,
  load: boolean
}

/**
 * User/index.vue 页面数据 *********************************************************
 */


/**
 * User/details.vue 页面数据 *********************************************************
 */

export interface UserDetails {
  data: any,
  UserLoading: boolean,
  JobLoading: boolean,
  Organizations: any[],
  Oids: string[],
  Jids: string[],
  Oid: string,
  Jobs: any[],
  OrganName: string,
  CurrentJid: string,
  JobsLoading: boolean,
  UserShow: boolean,
  OrganShow: boolean,
  uid: string | string[],
  OldData: any,
  OldOrgans: any,

}
/**
 * User/details.vue 页面数据 *********************************************************
 */




/**
 * User/Authorization.vue 页面数据 *********************************************************
 */
import { load } from '@/PageData/Request/index'
export interface UserAuthorization {
  Rids: string[],
  data: any[],
  User: any,
  Load: load,
  ids: string[]
}

/**
 * User/Authorization.vue 页面数据 *********************************************************
 */

/**
 * Organization/index.vue 页面数据 *********************************************************
 */
import { WhereRequest } from '@/PageData/Request/index'
export interface OrganizationData {
  where: WhereRequest,
  total: number,
  data: any,
  load: load,
  UserData: any[],


}
export interface OrganizationAdd {
  data: any,
  ChildData: any[],
  active: string,
  Jobs: any[],
  Organs: any[],
  prop: any,
  ParentIds: any,
  load: load,
  JIDS: any[],
  parentName: string
}

export interface OrganizationDetails {
  data: any,
  load: load,
  Jobs: any[],
  JIDS: any[]
}

/**
*  Organization/index.vue  页面数据 *********************************************************
*/




/**
 * job/index.vue 页面数据 *********************************************************
 */
export interface JobData {
  data: any[],
  where: WhereRequest,
  total: number,
  load: load
}
export interface JobDetails {
  data: any,

  load: load
}
import { JobRequest } from '@/PageData/Request/index'

export interface JobAdd {
  data: JobRequest,
  load: load
}

/**
*  job/index.vue  页面数据 *********************************************************
*/


/**
*  rightconfig/index.vue  页面数据 *********************************************************
*/
export interface rightconfig {
  where: RightConfigWhere
  data: any,
  load: load
}
export interface RightConfigWhere {
  limit: number,
  page: number,
  key: string,
  total: number,
  isBan: number,
  isPublish: number
}

export interface RightConfigDetails {
  data: any,
  load: load,
  RightData: any[],
  Loading: boolean
}


export interface Orgs {
  oid: string,
  isWhole: boolean,
  jids?: string[]
}

export interface RightConfigSetting {
  data: any,
  load: load, JobCount: number,
  OrganCount: number,
  OData: any[],
  JobsChouTi: string,
  JData: any[],
  Orgs: Orgs[],
  oid: string,
  jids: string[],
  AllChcek: boolean,
  All: boolean,
  JobBool: boolean,
  OName: string,
  HasSetting: any[]
}


export interface rightconfigAdd {
  data: any[],
  load: load
  AddData: any,
}


/**
*  rightconfig/index.vue  页面数据 *********************************************************
*/



/**
*  log.vue  页面数据 *********************************************************
*/
export interface logwhere {
  key: string,
  BeginTime: string,
  EndTime: string,
  page: number,
  limit: number,
  methods: string
}

export interface errorlog {
  where: logwhere,
  data: any[],
  total: number,
  time: Date[],
  load: load
}







/**
*  log.vue  页面数据 *********************************************************
*/
